
package xin.lowang.springboot.demo1.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 
 * @author Wang.ch
 *
 */
@RestController
public class RestControllerV1 {
  @RequestMapping("/")
  public String index() {
    return "hello index";
  }

  @RequestMapping("/say")
  public String say(String word) {
    return word;
  }
}
